package com.bd.constants;

import javax.swing.JOptionPane;

public enum MessageType {

	ERROR(JOptionPane.ERROR_MESSAGE), WARNING(JOptionPane.WARNING_MESSAGE), SUCCESS(JOptionPane.INFORMATION_MESSAGE);

	int	option;

	MessageType(int id) {
		this.option = id;
	}

	public int getOption() {
		return option;
	}

}
